#include "metrics/MetricType.hpp"

namespace metrics
{
    std::string metric_type_to_str(const enum MetricType &type)
    {
        switch (type)
        {
        case MetricType::Counter:
        {
            return "Counter";
            break;
        }
        case MetricType::Gauge:
        {
            return "Gauge";
            break;
        }
        case MetricType::Summary:
        {
            return "Summary";
            break;
        }
        case MetricType::Histogram:
        {
            return "Histogram";
            break;
        }
        case MetricType::Untyped:
        {
            return "Untyped";
            break;
        }
        default:
        {
            return "";
            break;
        }
        }
    }
}